﻿using System.Windows;
using System.Windows.Controls;

namespace MT.CustomUserControl
{
    public enum BtnType
    {
        None = 0,
        OK,
        Cancel,
    }

    public class BaseUserControl: UserControl
    {
        public Window ParentWindow;

        /// <summary>
        /// 获取父级窗体按下的按钮，在派生类中重写
        /// </summary>
        /// <param name="btnType"></param>
        public virtual void GetParentWindowBtnType(BtnType btnType) { }
    }
}
